﻿using SaaS.Model.Enums;
using System;
using XCore.Domain.Dto;
using XCore.Domain.Entities;

namespace SaaS.Model.Dto.Auths
{
    public class UserDto : EntityDto, IHasCreationTime
    {
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 头像
        /// </summary>
        public string Avatar { get; set; }
        /// <summary>
        /// 权限类型
        /// </summary>
        public UserAutoType Type { get; set; }
        /// <summary>
        /// 介绍
        /// </summary>
        public string Introduction { get; set; }
        /// <summary>
        /// 初始密码
        /// </summary>
        public string InitPassword { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 手机号码
        /// </summary>
        public string PhoneNumber { get; set; }
        /// <summary>
        /// 邮箱
        /// </summary>
        public string EmailAddress { get; set; }
        /// <summary>
        /// 注册时间
        /// </summary>
        public DateTime CreationTime { get; set; }
    }
}
